﻿package mortal.game.view.halidom
{
    import Message.Game.*;
    import flash.utils.*;

    public class HalidomCache extends Object
    {
        private var _data:Dictionary;

        public function HalidomCache()
        {
            this._data = new Dictionary();
            return;
        }// end function

        public function getItemById(param1:int) : SHalidom
        {
            return this._data[param1];
        }// end function

        public function get data() : Dictionary
        {
            return this._data;
        }// end function

        public function initData(param1:Array) : void
        {
            var _loc_2:SHalidom = null;
            for each (_loc_2 in param1)
            {
                
                this._data[_loc_2.halidomId] = _loc_2;
            }
            return;
        }// end function

    }
}
